import { Controller, Get, Redirect, Response } from '@nestjs/common';
import config from '../../../config/config';

@Controller(`${config.adminPath}`)
export class MainController {
    @Get()
    @Redirect('/admin/dist')
    index(@Response() res) {
        // return '后台管理首页';
        // res.send('后台管理系统');
    }
}
